<?php if($this->user):?>
    <div class="top_header_button">      
      <img src="<?php echo $this->baseUrl('/media/img/Logout_icon.png') ?>" alt="logout" onclick="location.href='<?php echo $this->baseUrl('/user/index/logout') ?>'" style="cursor:pointer;"/>
    </div>
    <div class="top_header_button">
      <img src="<?php echo $this->baseUrl('/media/img/MyAccount_icon.png') ?>" alt="logout" onclick="javascript:location.href='<?php echo $this->baseUrl('/user/index/my-account') ?>'" style="cursor:pointer;"/>
    </div>
<?php endif;?>